Vamos a hacer un evento en la otra dirección.

  • Ve a y arrastra Right Key a la parte inferior de tu programa.
  • Cambia el entero en .move_right() a 100.
  • Haz que dancer Flip Right Left en el right_key event. Aplica sangría de 4 espacios con un ····.
  • Aún dentro del evento, Wait 1 segundo, luego reversa el movimiento con otro Flip Right Left.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)